﻿@{
    ViewBag.Title = "Editar";
}
<link href="~/Content/Site.css" rel="stylesheet" />
<img src="/Content/head.jpg" alt="Encabezado" />
<body background="/Content/body.jpg">s
<h2>Editar Localidad</h2>

<form id="form" action="@Url.Action("Editar","Localidad")" method="post">
    <label>
        <span>Codigo</span>
        <input required="required" type="number" name="codigo" value="@Model.cod" readonly="true"  />
        <br />
    </label>
    <br />
    <label>
        <span>Nombre</span>
        <input required="required" type="text" name="nombre" value="@Model.nombre" />
        <span id="mensajeNomb"></span>
        <br />
    </label>
    <br />
    <input  id="mod" type="submit" value="Modificar"  />
</form>
    <br />
     <a>
        @Html.ActionLink("Localidades", "Index", "Localidad")
    </a>
    </body>


